﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Eqwww.Domain.Models.SystemManage;

namespace Eqwww.Web.Areas.SystemManage.Models.ModuleButton
{
    public class ModuleButtonProfile : Profile
    {

        public ModuleButtonProfile()
        {
            CreateMap<ModuleButtonModel, CreateViewModel>()
                .ReverseMap();
            CreateMap<ModuleButtonModel, EditViewModel>();
            CreateMap<EditViewModel, ModuleButtonModel>();
        }
    }
}
